package Singleton_Pattern.window;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Clinet {
    public static void main(String[] args) {
        Window window1,window2,window3,window4;
        window1=Window.get_winddow();
        window2=Window.get_winddow();
        window3=Window.get_winddow();
        window4=Window.get_winddow();

        if(window1==window2&&window2==window3&&window3==window4){
            System.out.println("生成相同子窗口");
        }
        else{
            System.out.println("生成不同子窗口");
        }
    }
}
